pvSCSI, xend: add new device assignment mode
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 17 Feb 2009 11:19:55 +0000 (11:19 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 17 Feb 2009 11:19:55 +0000 (11:19 +0000)
commitf9de1c1ae6e28887c00fb85459fc19b0d89848a2
treef6e452f485c98e3c9ed2cbc69ae172b4f7e5ecbb
parentae4aa4f8030d63720eb0c9db63a2a53dbdddfa1b
pvSCSI, xend: add new device assignment mode

You can use "host" mode by specifying keyword "host" as virtual scsi
device. Following is usage example.

    xm scsi-attach 1 2:0:3:4 host

In this case, all LUNs under host=2 are attached to guest domain 1.
The channel=0, target=3 and lun=4 are ignored.

Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Jun Kamada <kama@jp.fujitsu.com>
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/server/vscsiif.py
tools/python/xen/xm/create.py
tools/python/xen/xm/main.py